home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 September
/
PCWorld_2006-09_cd.bin
/
v cisle
/
drives
/
pcwDrives.exe
/
pcwDrives.BAT
Wrap
DOS Batch File
|
2006-07-14
|
766b
|
25 lines
@echo off
set drv=%*
if %drv%.==. set drv=C D E F G H I J K L M N O P Q R S T U V W X Y Z
for %%n in (%drv%) do (
if exist %%n:\ (
echo.
fsutil.exe fsinfo volumeinfo %%n:\ | find.exe "Volumename"
fsutil.exe fsinfo drivetype %%n:
fsutil.exe fsinfo volumeinfo %%n:\ | find.exe "Dateisystem"
fsutil.exe fsinfo volumeinfo %%n:\ | find.exe "Dateisystem" | find.exe "NTFS" > NUL
if not errorlevel 1 (
fsutil.exe fsinfo ntfsinfo %%n:|find.exe "pro Cluster"
fsutil.exe fsinfo statistics %%n:|find.exe "UserFileRead"
fsutil.exe fsinfo statistics %%n:|find.exe "UserFileWrite"
fsutil.exe dirty query %%n:
)
)
)
echo.
echo NASTAVENI pro vsechny diskove jednotky:
fsutil.exe behavior query disablelastaccess
fsutil.exe behavior query disable8dot3
echo.